OTP\Handler\Forms\MoWCCheckoutNew S

Total Complexity 50
Dependencies 9
Dependents 0
Total lines 370
Lines of code 228
Logical lines of code 108
Comment lines 109
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
handle_form_options()
S
58 6 15
checkIntegrity()
S
55 5 22
send_otp()
S
55 4 20
my_custom_checkout_field_process()
S
55 4 19
enqueue_script_on_page()
S
55 3 18
handle_form()
S
57 3 15
process_phone_number()
S
63 4 10
processEmail()
S
63 4 10
checkIntegrityAndValidateOTP()
S
56 2 20
process_email_and_send_otp()
S
59 2 15
get_phone_number_selector()
S
70 3 6
process_phone_and_send_otp()
S
60 2 14
processFormAndValidateOTP()
S
61 2 13
__construct()
S
58 1 15
handle_otp_token_submitted()
S
68 2 7
handle_post_verification()
S
79 1 3
unset_otp_session_variables()
S
80 1 3
handle_failed_verification()
S
79 1 3